package org.jeecg.modules.basedata.service;

import org.jeecg.entity.basedata.BaseArea;
import org.jeecg.model.basedata.BaseAreaTree;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 区域
 * @Author: jeecg-boot
 * @Date:   2019-06-14
 * @Version: V1.0
 */
public interface IBaseAreaService extends IService<BaseArea> {

    List<BaseAreaTree> getBaseAreaTree(BaseArea baseArea, boolean rootFlag, HttpServletRequest req);

    List<BaseArea> findByParentId(String parentId);

    void updateParentIds(List<BaseArea> childList);
}
